# 迁移数据库用的

from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from epp import create_app, db

app = create_app()  # 假设您有一个 create_app 函数来创建您的 Flask 应用
manager = Manager(app)
migrate = Migrate(app, db)

manager.add_command('db', MigrateCommand)

if __name__ == '__main__':
    manager.run()
